﻿using Oxygen.Client.ServerSymbol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RpcInterface
{
    [RemoteService("servicesample", "hello")]
    public interface IHelloService
    {
        [RemoteFunc(FuncType.Invoke)]
        Task<OutDto> HelloWorld();
        [RemoteFunc(FuncType.Invoke)]
        Task<OutDto> HelloWorldByName(InputDto input);
        [RemoteFunc(FuncType.Invoke)]
        Task<OutDto> HelloWorldByEvent();
    }
}
